Note: Even though this is the correct configuration for modifying NFSv4 grace time on service start there are currently two open bugs that detail the above option not functioning when applied (tracked via Bugzilla #1063087 and #1063088). This is because nfsd enforces that the grace time is always greater than or equal to the lease time and will modify the value to reflect this over time. The init script that starts nfsd does not implement an echo into nfsv4leasetime, only nfsv4gracetime.
To workaround this behavior it's recommended to modify the /etc/rc.d/init.d/nfs init script manually from:
|